home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / clue.lha / clue / doc / clue.tex / node115_mn.html < prev    next >
Text File  |  1989-07-12  |  2KB  |  60 lines

  1.  
  2. <H3><A ID="SECTION003411100000000000000"><tex2html_anchor_invisible_mark></A> <A ID="ch:events"><tex2html_anchor_mark></A><BR>
  3. Events
  4. </H3><#4991#>
  5.            
  6.       
  7.  
  8. Input from an X server<A ID="1307"><tex2html_anchor_invisible_mark></A> arrives
  9. asynchronously in the form of <#1308#><B>input events</B><#1308#><A ID="1309"><tex2html_anchor_invisible_mark></A>.  
  10. The basic set of input events and their contents are defined by the X Window
  11. System protocol<A ID="1310"><tex2html_anchor_invisible_mark></A>.
  12.  
  13. <P>
  14. CLUE uses the <#1311#><TT>event</TT><#1311#> class to represent an input event as an
  15. object. The <#1312#><TT>event</TT><#1312#> data structure has a slot for each value that appears in
  16. any X input event (i.e.  each
  17. keyword declared by a <#1313#><TT>xlib:declare-event</TT><#1313#> form in CLX). 
  18. For any actual input event, only a subset of the slots of the
  19. corresponding <#1314#><TT>event</TT><#1314#> object will be meaningful; the irrelevant slots
  20. always have a <#1315#><TT>nil</TT><#1315#> value.
  21.  
  22. <P>
  23. <#4656#>
  24. <#4273#><FONT SIZE="+1"><#1316#><B>event Class</B><#1316#></FONT><#4273#> 
  25. <A ID="1317"><tex2html_anchor_invisible_mark></A>
  26. <A ID="1318"><tex2html_anchor_invisible_mark></A>
  27. <DIV class="RIGHT">
  28. <tex2html_image_mark>#tex2html_wrap_inline9920#
  29. </DIV><#4656#>
  30.  
  31. <P>
  32. The names and meanings of most <#1325#><TT>event</TT><#1325#> slots are described by CLX[#clx#<tex2html_cite_mark>#1##<tex2html_cite_mark>#]
  33. and are not discussed in detail here. However, CLUE extends the basic event
  34. representation to include the following  additional <#1327#><TT>event</TT><#1327#> slots.
  35.  
  36. <P>
  37. <DIV class="RIGHT">
  38. <tex2html_image_mark>#tex2html_wrap_inline9923#
  39. </DIV>
  40.  
  41. <P>
  42. <DIV class="RIGHT">
  43. <tex2html_image_mark>#tex2html_wrap_inline9924#
  44. </DIV>
  45. <DIV class="RIGHT">
  46. <tex2html_image_mark>#tex2html_wrap_inline9925#
  47. </DIV>
  48. <DIV class="RIGHT">
  49. <tex2html_image_mark>#tex2html_wrap_inline9926#
  50. </DIV>
  51. <DIV class="RIGHT">
  52. <tex2html_image_mark>#tex2html_wrap_inline9927#
  53. </DIV>
  54. <DIV class="RIGHT">
  55. <tex2html_image_mark>#tex2html_wrap_inline9928#
  56. </DIV>
  57.  
  58. <P>
  59.  
  60.  =0 <#5001#>=0 <#5005#>